import sys
from PyQt5.QtWidgets import QApplication, QMainWindow
import j_mainwindow

if __name__ == '__main__':
    app = QApplication(sys.argv)
    Mainwindow = QMainWindow()

    ui = j_mainwindow.Ui_MainWindow()
    ui.setupUi(Mainwindow)
    Mainwindow.show()
    sys.exit(app.exec_())